var Lexer = require('./customCompiler/Lexer/index.js');//词法解析器
var SyntaxParser = require('./customCompiler/SyntaxParser/index.js');//语法解析器


var code=`let x=y+5;
y=2;`;




var le=new Lexer(code);
le.lexing();
/*var parser=new SyntaxParser(le);
parser.parseProgram();
for (var i = 0; i < parser.program.statements.length; i++) {
	console.log(parser.program.statements[i].getLiteral())
}
*/

